package com.springdemo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.RestController;

/**
 * spring server springboot 启动
 * @author michael
 *
 */
@SpringBootApplication
@EnableEurekaClient
@ComponentScan("com.springdemo")
@MapperScan("com.springdemo.*.dao")
@RestController
public class SpringDemoServiceApplication 
{
	
    public static void main( String[] args )
    {
    	SpringApplication.run(SpringDemoServiceApplication.class, args);
    }
}
